package com.ideaaedi.springcloud.jd.commonds.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * base page
 *
 * @author <font size = "20" color = "#3CAA3C"><a href="https://gitee.com/JustryDeng">JustryDeng</a></font> <img src="https://gitee.com/JustryDeng/shared-files/raw/master/JustryDeng/avatar.jpg" />
 * @since 2021.0.1.A
 */
@Getter
@Setter
@ToString
public class BasePageDTO extends BaseDTO {
    
    /**
     * 页码
     */
    @ApiModelProperty(value = "页码", position = Integer.MAX_VALUE - 1)
    private Integer pageNum = 1;
    
    /**
     * 每页条数（小于0时，会忽略pageNum进行全查）
     */
    @ApiModelProperty(value = "每页条数（小于0时，会忽略pageNum进行全查）", position = Integer.MAX_VALUE - 1)
    private Integer pageSize = 10;
    
    /**
     * excel导出设置
     */
    @ApiModelProperty(value = "excel导出设置", position = Integer.MAX_VALUE, hidden = true)
    private ExcelExportSettings excelExportSettings;
}
